
function addData(X, Y, start = 0, end=100, rate = 1) {
	let ary = [];
	for(let i = start; i < end; i++) {
		let randomX = Number(X) - (Math.random() * rate);	// Math.ceil(Math.random()*10);     // 获取从 1 到 10 的随机整数，取 0 的概率极小。
		let randomY = Number(Y) - (Math.random() * rate);	// Math.ceil(Math.random()*10);     // 获取从 1 到 10 的随机整数，取 0 的概率极小。
		ary.push({
			"gpsX": randomX,
			"gpsY": randomY,
			"count": i,
			"channel_ids": i,
			"facade": null,
			"status": null
		})
	}
	return ary 
}
const pointData15 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.5564, 24.6758880181,1, 100)
}
const pointData14 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(114.0564, 24.3758880181,20, 80)
}
const pointData13 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.2564, 24.1758880181,10, 80)
}
const pointData12 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.3564, 24.3758880181,30, 100)
}
const pointData11 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.4564, 23.8758880181,120, 145)
}
const pointData10 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.0564, 24.0758880181,120, 160)
}
const pointData9 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.1264, 24.0558880181,200, 230)
}
const pointData8 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.23264, 24.615888081,220, 240)
}
const pointData7 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.23264, 24.615888081,300, 310)
}
const pointData6 = {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.23264, 24.615888081,500, 505, 2)
}
const pointData5= {
	"returnCode": 0,
	"returnMsg": "Success",
	"data": addData(113.23264, 24.615888081,1000, 1002, 2)
}
const pointData = {
	15:pointData15,
	14:pointData14,
	13:pointData13,
	12:pointData12,
	11:pointData11,
	10:pointData10,
	9:pointData9,
	8:pointData8,
	7:pointData7,
	6:pointData6,
	5:pointData5
}
export default pointData